Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH add moment weight sums to output #219

Merged
merged 17 commits into from
Jul 21, 2022
Merged

ENH add moment weight sums to output #219

merged 17 commits into from
Jul 21, 2022

Conversation

beckermr
Copy link
Collaborator

@beckermr beckermr commented Jul 19, 2022

This PR adds the overall moment weight function normalization to fix a bug in mdet where this is ignored when combining shapes.

To do:

  • tests

@beckermr beckermr marked this pull request as draft July 19, 2022 16:42
ngmix/gmix/gmix.py Outdated Show resolved Hide resolved
ngmix/prepsfmom.py Outdated Show resolved Hide resolved
@beckermr beckermr marked this pull request as ready for review July 19, 2022 18:31
@beckermr beckermr marked this pull request as draft July 19, 2022 18:31
@beckermr beckermr changed the title BUG fix bug in wmom moms ENH add moment weight sums to output Jul 19, 2022
@beckermr beckermr marked this pull request as ready for review July 21, 2022 11:27
ngmix/moments.py Outdated Show resolved Hide resolved
ngmix/moments.py Outdated Show resolved Hide resolved
beckermr and others added 2 commits July 21, 2022 08:52
@beckermr
Copy link
Collaborator Author

OK @esheldon This one is ready for another look. I renamed everything. Note that metadetect won't pass until we push a change to that repo. I'll do that once we release ngmix 2.1 which should be sometime today hopefully.

@beckermr beckermr requested a review from esheldon July 21, 2022 18:24
@esheldon
Copy link
Owner

Does this need the other PR to pass tests?

@esheldon
Copy link
Owner

sorry, getting confused on PRs

@esheldon
Copy link
Owner

OK, the mdet regression won't pass until both PRs are merged

@beckermr
Copy link
Collaborator Author

Mdet won't pass until it is updated to use sums instead of mom.

So ignore that test for now.

CHANGES.md Show resolved Hide resolved
@beckermr beckermr merged commit c0ec3f6 into master Jul 21, 2022
@beckermr beckermr deleted the wmom-bugz branch July 21, 2022 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants